
/*---------------------------------------------------------
   Init( data table )
---------------------------------------------------------*/
function EFFECT:Init( data )

	self.Pos = data:GetOrigin()
	self.Pos.z = self.Pos.z + 4
	self.Size = 70
	self.Emitter = ParticleEmitter( self.Pos )
	
	self.Ang = Angle(0,0,0)
	for i=1, math.random(28,35) do
	
		self.Ang:RotateAroundAxis(self.Ang:Up(), (360/35))
		local forward = self.Ang:Forward()
		local particle = self.Emitter:Add( "particles/smokey", self.Pos  )

		particle:SetVelocity( forward * math.Rand(90,120) )
		particle:SetDieTime( math.Rand( 1, 1.5 ) )
		particle:SetStartAlpha( math.Rand( 190, 220 ) )
		particle:SetEndAlpha( 1 )
		particle:SetStartSize( 10 )
		particle:SetEndSize( math.Rand( 60, 80 ) )
		particle:SetRoll( math.Rand( -180,180 ) )
		particle:SetRollDelta( math.Rand( -1, 1 ) )
		particle:SetColor( 50,50,50 )
		particle:VelocityDecay( true )	
				
	end
	self.Emitter:Finish()
end

/*---------------------------------------------------------
   THINK
---------------------------------------------------------*/
function EFFECT:Think( )
	return false	
end

/*---------------------------------------------------------
   Draw the effect
---------------------------------------------------------*/
function EFFECT:Render( )

end
